@echo off
echo 启动产业链可视化系统...
echo.

echo 1. 启动后端服务...
cd backend
start cmd /k "python app.py"

echo 2. 等待后端启动...
timeout /t 3 /nobreak >nul

echo 3. 启动前端服务...
cd ../frontend
start cmd /k "npm run serve"

echo.
echo 系统启动完成！
echo 后端地址: http://localhost:5000
echo 前端地址: http://localhost:8080
echo.
pause